<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>{$Think.session.sys.title}</title>
    <meta name="viewport"
          content="width=device-width,initial-scale=1.0,maximum-scale=1.0,maximum-scale=1.0,user-scalable=no,viewport-fit=cover">
    <meta name="keywords" content="{$Think.session.sys.keyword}">
    <meta name="description" content="{$Think.session.sys.description}">
    <meta name="Author" content="alan.yue|岳小威子,484449540@yqq.com">
    <meta name="Copyright" content="本页版权归岳小威子所有.All Rights Reserved">
    <link rel="stylesheet" href="__PLU__/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="__PLU__/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
    <link rel="stylesheet" href="__CSS__/main.css">
    {$Think.session.sys.custom_css|raw}
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<header>
    <div class="layui-container">
        <div class="logo">
            <img src="__IMG__/{$Think.session.sys.logo}"/>
        </div>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;">啥也不是</a>
            </li>
            <li class="layui-nav-item"><a href="/admin">后台</a></li>
        </ul>
    </div>
</header>
<main>
    <div class="layui-container">
        <div class="label">
            <span class="layui-breadcrumb" lay-filter="nav" lay-separator="|">
                <a href="javascript:;" class="yw-this" data-class="">全部工具</a>
                {volist name=":getToolsType()" id="vo"}
                <a href="javascript:;" data-class="{$vo.code}">{$vo.name}</a>
                {/volist}
            </span>
        </div>
        <div class="layui-row layui-col-space10">
            {volist name=":model('admin/Toolslist')->where('status',1)->all()" id="vo"}
            <div class="layui-col-xs12 layui-col-sm6 layui-col-md3 yw-item type_{$vo.type}">
                <div class="yw-card">
                    <div class="yw-card-title">
                        <a href="{$vo.url}" target="{$vo.target}" class="item-icon">
                            <img src="__IMG__/icon/default.png" width="48" height="48" alt="default">
                        </a>
                        <h3><a href="{$vo.url}" target="{$vo.target}">{$vo.title}</a></h3>
                        <span class="card-type"><a href="javascript:;"
                                                   data-class="{$vo.type}">{:getToolsType($vo.type)}</a></span>
                        <a href="javascript:;" class="use"><i class="fa fa-eye"></i> <span>{$vo.use_num}</span></a>
                        <div class="clearfix"></div>
                    </div>
                    <div class="yw-card-body">
                        <p class="ellipsis2">{$vo.sub_title}</p>
                    </div>
                </div>
            </div>
            {/volist}
        </div>
    </div>
</main>
<footer>
    <div class="layui-container">
        <p class="text-center">Copyright © 2021 WJJSK-我就试试看 {$Think.session.sys.icp}</p>
    </div>
</footer>
</body>
{$Think.session.sys.custom_js|raw}
<script type="text/javascript" src="__LAYUI__/layui.js"></script>
<script type="text/javascript" src="__JS__/main.js"></script>
</html>